package com.genghis.ptas.note.service;

import com.genghis.ptas.classify.entity.TypeValues;
import com.genghis.ptas.note.entity.Note;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: gaoyang
 * To change this template use File | Settings | File Templates.
 */
public interface NoteService {
    int addNote( Note note);

    void editNote(Note note);

    void delNote(String noteId);

    Note findNoteById(int noteId);

    List<Note> findNoteByType(Note note);

    void publicNotes(String ids);

    List<TypeValues> findAllNote(Note note);

    Note findNoteByCourseIdAndUserId(Integer courseId);

    List<TypeValues> findPublicNote(Note note);

    List<Note> findAllPublicNote(Note note);
}
